extends ./../layout

block content
  div(class="ui middle aligned center aligned grid")
    div(class="column")
      h2(class="ui teal image header")
        img(src="/assets/images/logo.png", class="image")
      div.content 登录账号

      form#login-box(class="ui large form")
        div(class="ui stacked segment")
          div(class="field")
            div(class="ui left icon input")
              i(class="user icon")
              input.username(type="text",name="username",placeholder="请输入用户名")
          div(class="field")
            div(class="ui left icon input")
              i(class="lock icon")
              input.password(type="password",name="password",placeholder="请输入密码")
          div(class="ui fluid large teal submit button") 登录
        div(class="ui error message")
      div(class="ui message")
        没有账号? <a href="/user/reg">马上注册</a>
